package com.atguigu.spring6iocxml.auto.service;

import com.atguigu.spring6iocxml.auto.dao.UserDao;

public class UserServiceImpl implements UserService {

    private UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void addUserService() {
        this.userDao.addUserDao();
        System.out.println("UserServiceImpl.addUserService()");
    }
}
